<?php
namespace app\model;
use think\admin\Model;

use think\model\relation\HasMany;

/**
 * 打卡记录
 * @class ClassTaskComment
 * @package app\model
 */
class ClassTaskComment extends Model
{
    protected $table = "hjz_class_task_comment";

    public function user(){
        return $this->belongsTo(User::class,'user_id');
    }

    public function classes(){
        return $this->belongsTo(Classes::class,'class_id');
    }
}